.p-register {
  display: inline-block;
  margin-right: 20px;
  color: #fff;
}

.g-topnav {
  width: 100%;
  height: 70px;
  background-color: #1BBC9B;
  color: #fff;
  box-shadow: 0 2px 7px rgba(31, 165, 138, .6);

  .f-container {
    height: 70px;
    display: flex;
    align-items: center;
  }
  .layui-layer{
    background-color: transparent;
    box-shadow: none;
  }
  .u-triangle{
    position: relative;
    left: 238px;
    bottom: -1px;
    width: 20px;
    height: 10px;
    background: url(../../imgs/triangle.png) no-repeat left top;
    &.u-triangle-1 {
      position: absolute;
      left: 196px;
      top: -10px;
    }
  }
  .m-logo {
    width: 70px;
    flex-grow: 0;
    margin-right: 24px;
    a {
      width: 160px;
      display: flex;
      height: 70px;
      align-items: center;
      color: #fff;
      text-decoration: none;
    }

    .u-imgcon-1 {
      width: 70px;
      height: 70px;
      margin-right: 10px;
    }

    h1 {
      margin: 0;
      padding: 0;
      font-size: 22px;
      font-weight: normal;
    }
  }
  .btn-login{
    width: 88px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    border-radius: 5px;
    color: #fff;
  }
  .u-search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 250px;
    height: 40px;
    margin-right: 60px;
    box-shadow: 0 1px 2px rgba(18,172,140,1);

    input {
      box-sizing: border-box;
      flex-grow: 1;
      padding-left: 10px;
      padding-right: 20px;
      height: 40px;
      border: 1px;
      line-height: 40px;
      border-radius: 5px 0 0 5px;
    }

    .btncon {
      box-sizing: border-box;
      flex-grow: 0;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 40px;
      background-color: @themecolor;
      border: 1px solid #12AC8C;
      border-radius: 0 5px 5px 0;
    }
  }

  .m-nav {
    display: flex;

    .item {
      box-sizing: border-box;
      display: block;
      padding-left: 10px;
      padding-right: 10px;
      margin-right: 20px;
      width: 80px;
      height: 70px;
      font-size: 22px;
      text-decoration: none;
      color: #fff;
      line-height: 70px;
      text-align: center;
      cursor: pointer;

      &.current {
        background-color: #13A789;
      }
    }
    .m-found{
      .title {
        min-height: 70px;
        line-height: 70px;
        font-size: 22px;
        color: #fff;
        padding-left: 10px;
        padding-right: 10px;
        cursor: pointer;
      }
    }
    .pop-panel {
      .title {
        min-height: 70px;
        line-height: 70px;
        font-size: 22px;
        color: #fff;
        padding-left: 10px;
        padding-right: 10px;
        cursor: pointer;
      }

      .m-pop-tools-panel {
        display: none;
        position: absolute;
        left: 0;
        top: 70px;
        width: 100%;
        background-color: #128C74;
        z-index: 4;

        .f-container {
          height: 340px;
        }

        .panel-content-item {
          box-sizing: border-box;
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          width: 136px;
          height: 152px;
          margin-right: 10px;
          &:hover{
            background-color: #13A789;
          }
          &:first-child{
            margin-left: 10px;
          }
          h2 {
            margin-top: 20px;
            font-size: 18px;
            color: #fff;
          }

          p {
            margin-top: 14px;
            font-size: 14px;
            color: #8dd9c9;
          }
        }

        .panel-tools-list {
          box-sizing: border-box;
          flex-shrink: 0;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          height: 100%;
          padding: 30px 0;

          &.panel-tools-list-border {
            border-left: 1px solid #0F846D;
          }

          .panel-tools-list-item {
            box-sizing: border-box;
            padding: 10px 0 10px 26px;
            width: 180px;
            list-style: none;
            &:hover{
              background-color: #13A789;
            }
            h3 {
              font-size: 16px;
              color: #fff;
              display: flex;
              align-items: center;
            }

            p {
              margin-top: 8px;
              font-size: 12px;
              color: #8dd9c9;
            }

            &.free {
              h3 {
                color: #FFF;
              }

              .u-free {
                display: inline-block;
                margin-left: 8px;
                width: 40px;
                height: 18px;
                background-color: #FFF;
                border-radius: 2px;
                font-size: 12px;
                color: #085C4B;
                text-align: center;
                line-height: 18px;
              }
            }
          }
        }
      }

      &:hover {
        .title {
          background-color: #13A789;
        }

        .m-pop-tools-panel {
          display: block;
        }
      }
    }
  }

  .u-imgcon-2 {
    width: 30px;
    height: 30px;
    margin-right: 10px;
  }

  .m-rightcon {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;

    .u-orglist-btn {
      height: 70px;
      display: -webkit-flex;
      display: -ms-flex;
      display: flex;
      align-items: center;
    }

    .m-user {
      min-width: 160px;
      display: flex;
      height: 70px;
      align-items: center;
      text-decoration: none;

      p {
        font-size: 14px;
        color: #fff;
      }
    }

    .m-icon {
      position: relative;
      display: flex;
      font-size: 14px;
      margin-left: 8px;

      a {
        color: #fff;
        text-decoration: none;
      }

      .u-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 22px;
        padding-right: 18px;
        margin-right: 18px;
        height: 22px;
        cursor: pointer;
      }
    }
  }
}

.m-pop-org-list {
  width: 220px;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-top: none;
  z-index: 3;

  .m-pop-org-item {
    height: 60px;
    display: flex;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    border-top: 1px solid #ddd;
    cursor: pointer;
    text-decoration: none;

    &:first-child {
      border-top: 0;
    }

    &.m-pop-org-item-1 {
      p {
        color: #1bb49b;
      }
    }

    .u-imgcon {
      margin-right: 10px;
      flex-shrink: 0;
    }

    p {
      font-size: 14px;
      color: #333;
    }
  }
}
.m-pop-wrapper{
  margin-left: 10px;
  position: relative;
}
.m-pop-usercenter-panel {
  display: none;
  width: 414px;
  .panel-top{
    display: flex;
    .item{
      box-sizing: border-box;
      display: -webkit-flex;
      display: -ms-flex;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 50%;
      height: 55px;
      background-color: #fff;
      border: 1px solid #ddd;
      cursor: pointer;
      &:first-child{
        border-right: none;
      }
      &.current{
        border-bottom: none;
      }
    }
  }
  .uc-panel-content{
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-top: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    background-color: #f3f3f3;
    [class^='uc-panel-content-']{
      background-color: #fff;
      padding: 0 30px;
    }
    .uc-panel-content-top, .uc-panel-content-list {
      margin-bottom: 10px;
    }
    .uc-panel-content-top{
      .info{
        display: -webkit-flex;
        display: -ms-flex;
        display: flex;
        padding: 20px 0;
        .u-imgcon{
          flex-shrink: 0;
          width: 70px;
          height: 70px;
        }
        .txt{
          display: -webkit-flex;
          display: -ms-flex;
          display: flex;
          flex-direction: column;
          justify-content: center;
          margin-left: 10px;
          height: 70px;
          h1{
            font-size: 16px;
            color: #333;
          }
          h2{
            font-size: 16px;
            color: #333;
          }
          p{
            margin-top: 10px;
            font-size: 12px;
            color: #999;
          }
          .time{
            color: @themecolor
          }
        }
      }
      .tags{
        padding: 20px 0;
        display: flex;
        .tags-item{
          display: -webkit-flex;
          display: -ms-flex;
          display: flex;
          justify-content: center;
          align-items: center;
          padding: 4px 8px;
          margin-left: 20px;
          border: 1px solid #ddd;
          border-radius: 4px;
          font-size: 12px;
          color: #999;
          &:first-child{
            margin-left: 0;
          }
        }
      }
      .amounts{
        display: -webkit-flex;
        display: -ms-flex;
        display: flex;
        justify-content: space-between;
        padding: 0 30px;
        .amounts-item{
          box-sizing: border-box;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: space-between;
          padding: 10px 0;
          margin-bottom: 20px;
          height: 60px;
          .title, .number{
            font-size: 14px;
            color: #999;
          }
        }
      }
    }
    .uc-panel-content-list{
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      justify-content: space-around;
      padding: 20px 30px;
      height: 200px;
      .uc-list-item{
        list-style: none;
        display: flex;
        justify-content: space-between;
        p{
          flex-grow: 1;
          font-size: 14px;
          color: #ACB6CB;
          line-height: 20px;
        }
        .u-label{
          display: inline-block;
          width: 30px;
          height: 20px;
          background-color: #f5f5f5;
          border-radius: 2px;
          font-size: 12px;
          text-align: center;
          line-height: 20px;
          color: #ACB6CB;
        }
      }
    }
    .uc-panel-content-setting{
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 40px;
      padding-top: 5px;
      p{
        flex-grow: 1;
        font-size: 14px;
        color: #999;
      }
      .feedback{
        display: flex;
        align-items: center;
        font-size: 14px;
        color: #999;
        .p-icon{
          margin-right: 8px;
        }
      }
    }
  }
}

.g-secondnav {
  width: 100%;
  height: 60px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
  background-color: #fff;

  .f-container {
    box-sizing: border-box;
    padding-right: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .menu {
    display: flex;
    align-items: center;
    height: 60px;

    .item {
      margin-right: 40px;
      width: 100px;
      height: 60px;
      list-style: none;
      font-size: 18px;
      line-height: 60px;
      text-align: center;
      color: #666;

      &.current {
        color: @themecolor;
        border-bottom: 2px solid @themecolor;
      }

      &:hover {
        color: @themecolor;
      }
    }
  }
}
